package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.CheckItem;

import java.util.List;

public interface CheckGroupService {

    void addGroup(CheckGroup checkGroup, Integer[] checkitemIds);

    PageResult findPage(QueryPageBean queryPageBean);

    CheckGroup findCheckGroupById(Integer checkGroupId);

    List<Integer> findCheckItemById(Integer checkGroupId);

    void editGroupAndSave(CheckGroup checkGroup, Integer[] checkitemIds);

    List<CheckGroup> findAll();
}
